package com.yyh1;

public class Actor extends Person{
    public String school;
    public String creation;

    public Actor() {
    }

    public Actor(String name, int age, String sex, String school, String creation) {
        super(name, age, sex);
        this.school = school;
        this.creation = creation;
    }

    public void introduction(){
        System.out.println("大家好！我是："+name);
        System.out.println("今年"+age);
        System.out.println("我毕业于："+school);
        System.out.println("代表作有："+creation);
    }
}
